package io.ticktick.modules.app.service.impl;

import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import io.ticktick.modules.app.dao.GroupChatDao;
import io.ticktick.modules.app.entity.GroupChatEntity;
import io.ticktick.modules.app.service.GroupChatService;


@Service("groupChatService")
public class GroupChatServiceImpl extends ServiceImpl<GroupChatDao, GroupChatEntity> implements GroupChatService {


    @Override
    public List<GroupChatEntity> getGroupChatByUserId(Long userId) {
        return baseMapper.queryGroupChatByUserId(userId);
    }
}